package com.my.netty.promote.message;

import lombok.*;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@NoArgsConstructor
public class LoginResponseMessage extends AbstractResponseMessage implements Serializable {

    public LoginResponseMessage(boolean success, String reason) {
        super(success, reason);
    }

    @Override
    public int getMessageType() {
        return Message.LOGIN_RESPONSE_MESSAGE;
    }
}
